home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C/C++ Users Group Library 1996 July
/
C-C++ Users Group Library July 1996.iso
/
listings
/
v_08_06
/
8n06074c
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
1990-04-29
|
333 b
|
14 lines
*****Listing 7*****
static struct s_record print_record;
#define NUMBER_FIELDS 9
int record_field_offsets[NUMBER_FIELDS] =
{
print_record.firstname - (char *) &print_record,
print_record.lastname - (char *) &print_record,
...
/* Remainder of the offsets */
};